package com.think.teaching.mapper;

import com.think.teaching.model.TrainingResult;

import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface TrainingResultMapper extends BaseMapper<TrainingResult> {

	int GetOutstandingCount(Integer course);

	int GetGoodCount(Integer course);

	IPage<Map<String, Object>> ListTrainingResult(IPage<Map<String, Object>> page, Integer count2);

}
